import auth from './permission/auth';
import role from './permission/role';
import lazy from './lazy';
import confirm from './confirm';

function install(Vue) {
  Vue.directive('hasAuth', auth);
  Vue.directive('role', role);
  Vue.directive('lazy', lazy);
  Vue.directive('confirm', confirm);
}

export default install;
